home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMNSHTMLAreaElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  9KB  |  230 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMNSHTMLAreaElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMNSHTMLAreaElement_h__
  6. #define __gen_nsIDOMNSHTMLAreaElement_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMNSHTMLAreaElement */
  19. #define NS_IDOMNSHTMLAREAELEMENT_IID_STR "3dce9071-f3b9-4280-a6ee-776cdfe3dd9e"
  20.  
  21. #define NS_IDOMNSHTMLAREAELEMENT_IID \
  22.   {0x3dce9071, 0xf3b9, 0x4280, \
  23.     { 0xa6, 0xee, 0x77, 0x6c, 0xdf, 0xe3, 0xdd, 0x9e }}
  24.  
  25. class NS_NO_VTABLE nsIDOMNSHTMLAreaElement : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMNSHTMLAREAELEMENT_IID)
  29.  
  30.   /* attribute DOMString protocol; */
  31.   NS_IMETHOD GetProtocol(nsAString & aProtocol) = 0;
  32.   NS_IMETHOD SetProtocol(const nsAString & aProtocol) = 0;
  33.  
  34.   /* attribute DOMString host; */
  35.   NS_IMETHOD GetHost(nsAString & aHost) = 0;
  36.   NS_IMETHOD SetHost(const nsAString & aHost) = 0;
  37.  
  38.   /* attribute DOMString hostname; */
  39.   NS_IMETHOD GetHostname(nsAString & aHostname) = 0;
  40.   NS_IMETHOD SetHostname(const nsAString & aHostname) = 0;
  41.  
  42.   /* attribute DOMString pathname; */
  43.   NS_IMETHOD GetPathname(nsAString & aPathname) = 0;
  44.   NS_IMETHOD SetPathname(const nsAString & aPathname) = 0;
  45.  
  46.   /* attribute DOMString search; */
  47.   NS_IMETHOD GetSearch(nsAString & aSearch) = 0;
  48.   NS_IMETHOD SetSearch(const nsAString & aSearch) = 0;
  49.  
  50.   /* attribute DOMString port; */
  51.   NS_IMETHOD GetPort(nsAString & aPort) = 0;
  52.   NS_IMETHOD SetPort(const nsAString & aPort) = 0;
  53.  
  54.   /* attribute DOMString hash; */
  55.   NS_IMETHOD GetHash(nsAString & aHash) = 0;
  56.   NS_IMETHOD SetHash(const nsAString & aHash) = 0;
  57.  
  58.   /* DOMString toString (); */
  59.   NS_IMETHOD ToString(nsAString & _retval) = 0;
  60.  
  61. };
  62.  
  63. /* Use this macro when declaring classes that implement this interface. */
  64. #define NS_DECL_NSIDOMNSHTMLAREAELEMENT \
  65.   NS_IMETHOD GetProtocol(nsAString & aProtocol); \
  66.   NS_IMETHOD SetProtocol(const nsAString & aProtocol); \
  67.   NS_IMETHOD GetHost(nsAString & aHost); \
  68.   NS_IMETHOD SetHost(const nsAString & aHost); \
  69.   NS_IMETHOD GetHostname(nsAString & aHostname); \
  70.   NS_IMETHOD SetHostname(const nsAString & aHostname); \
  71.   NS_IMETHOD GetPathname(nsAString & aPathname); \
  72.   NS_IMETHOD SetPathname(const nsAString & aPathname); \
  73.   NS_IMETHOD GetSearch(nsAString & aSearch); \
  74.   NS_IMETHOD SetSearch(const nsAString & aSearch); \
  75.   NS_IMETHOD GetPort(nsAString & aPort); \
  76.   NS_IMETHOD SetPort(const nsAString & aPort); \
  77.   NS_IMETHOD GetHash(nsAString & aHash); \
  78.   NS_IMETHOD SetHash(const nsAString & aHash); \
  79.   NS_IMETHOD ToString(nsAString & _retval); 
  80.  
  81. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  82. #define NS_FORWARD_NSIDOMNSHTMLAREAELEMENT(_to) \
  83.   NS_IMETHOD GetProtocol(nsAString & aProtocol) { return _to GetProtocol(aProtocol); } \
  84.   NS_IMETHOD SetProtocol(const nsAString & aProtocol) { return _to SetProtocol(aProtocol); } \
  85.   NS_IMETHOD GetHost(nsAString & aHost) { return _to GetHost(aHost); } \
  86.   NS_IMETHOD SetHost(const nsAString & aHost) { return _to SetHost(aHost); } \
  87.   NS_IMETHOD GetHostname(nsAString & aHostname) { return _to GetHostname(aHostname); } \
  88.   NS_IMETHOD SetHostname(const nsAString & aHostname) { return _to SetHostname(aHostname); } \
  89.   NS_IMETHOD GetPathname(nsAString & aPathname) { return _to GetPathname(aPathname); } \
  90.   NS_IMETHOD SetPathname(const nsAString & aPathname) { return _to SetPathname(aPathname); } \
  91.   NS_IMETHOD GetSearch(nsAString & aSearch) { return _to GetSearch(aSearch); } \
  92.   NS_IMETHOD SetSearch(const nsAString & aSearch) { return _to SetSearch(aSearch); } \
  93.   NS_IMETHOD GetPort(nsAString & aPort) { return _to GetPort(aPort); } \
  94.   NS_IMETHOD SetPort(const nsAString & aPort) { return _to SetPort(aPort); } \
  95.   NS_IMETHOD GetHash(nsAString & aHash) { return _to GetHash(aHash); } \
  96.   NS_IMETHOD SetHash(const nsAString & aHash) { return _to SetHash(aHash); } \
  97.   NS_IMETHOD ToString(nsAString & _retval) { return _to ToString(_retval); } 
  98.  
  99. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  100. #define NS_FORWARD_SAFE_NSIDOMNSHTMLAREAELEMENT(_to) \
  101.   NS_IMETHOD GetProtocol(nsAString & aProtocol) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProtocol(aProtocol); } \
  102.   NS_IMETHOD SetProtocol(const nsAString & aProtocol) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProtocol(aProtocol); } \
  103.   NS_IMETHOD GetHost(nsAString & aHost) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHost(aHost); } \
  104.   NS_IMETHOD SetHost(const nsAString & aHost) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHost(aHost); } \
  105.   NS_IMETHOD GetHostname(nsAString & aHostname) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHostname(aHostname); } \
  106.   NS_IMETHOD SetHostname(const nsAString & aHostname) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHostname(aHostname); } \
  107.   NS_IMETHOD GetPathname(nsAString & aPathname) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPathname(aPathname); } \
  108.   NS_IMETHOD SetPathname(const nsAString & aPathname) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPathname(aPathname); } \
  109.   NS_IMETHOD GetSearch(nsAString & aSearch) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearch(aSearch); } \
  110.   NS_IMETHOD SetSearch(const nsAString & aSearch) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearch(aSearch); } \
  111.   NS_IMETHOD GetPort(nsAString & aPort) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPort(aPort); } \
  112.   NS_IMETHOD SetPort(const nsAString & aPort) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPort(aPort); } \
  113.   NS_IMETHOD GetHash(nsAString & aHash) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHash(aHash); } \
  114.   NS_IMETHOD SetHash(const nsAString & aHash) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHash(aHash); } \
  115.   NS_IMETHOD ToString(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 
  116.  
  117. #if 0
  118. /* Use the code below as a template for the implementation class for this interface. */
  119.  
  120. /* Header file */
  121. class nsDOMNSHTMLAreaElement : public nsIDOMNSHTMLAreaElement
  122. {
  123. public:
  124.   NS_DECL_ISUPPORTS
  125.   NS_DECL_NSIDOMNSHTMLAREAELEMENT
  126.  
  127.   nsDOMNSHTMLAreaElement();
  128.  
  129. private:
  130.   ~nsDOMNSHTMLAreaElement();
  131.  
  132. protected:
  133.   /* additional members */
  134. };
  135.  
  136. /* Implementation file */
  137. NS_IMPL_ISUPPORTS1(nsDOMNSHTMLAreaElement, nsIDOMNSHTMLAreaElement)
  138.  
  139. nsDOMNSHTMLAreaElement::nsDOMNSHTMLAreaElement()
  140. {
  141.   /* member initializers and constructor code */
  142. }
  143.  
  144. nsDOMNSHTMLAreaElement::~nsDOMNSHTMLAreaElement()
  145. {
  146.   /* destructor code */
  147. }
  148.  
  149. /* attribute DOMString protocol; */
  150. NS_IMETHODIMP nsDOMNSHTMLAreaElement::GetProtocol(nsAString & aProtocol)
  151. {
  152.     return NS_ERROR_NOT_IMPLEMENTED;
  153. }
  154. NS_IMETHODIMP nsDOMNSHTMLAreaElement::SetProtocol(const nsAString & aProtocol)
  155. {
  156.     return NS_ERROR_NOT_IMPLEMENTED;
  157. }
  158.  
  159. /* attribute DOMString host; */
  160. NS_IMETHODIMP nsDOMNSHTMLAreaElement::GetHost(nsAString & aHost)
  161. {
  162.     return NS_ERROR_NOT_IMPLEMENTED;
  163. }
  164. NS_IMETHODIMP nsDOMNSHTMLAreaElement::SetHost(const nsAString & aHost)
  165. {
  166.     return NS_ERROR_NOT_IMPLEMENTED;
  167. }
  168.  
  169. /* attribute DOMString hostname; */
  170. NS_IMETHODIMP nsDOMNSHTMLAreaElement::GetHostname(nsAString & aHostname)
  171. {
  172.     return NS_ERROR_NOT_IMPLEMENTED;
  173. }
  174. NS_IMETHODIMP nsDOMNSHTMLAreaElement::SetHostname(const nsAString & aHostname)
  175. {
  176.     return NS_ERROR_NOT_IMPLEMENTED;
  177. }
  178.  
  179. /* attribute DOMString pathname; */
  180. NS_IMETHODIMP nsDOMNSHTMLAreaElement::GetPathname(nsAString & aPathname)
  181. {
  182.     return NS_ERROR_NOT_IMPLEMENTED;
  183. }
  184. NS_IMETHODIMP nsDOMNSHTMLAreaElement::SetPathname(const nsAString & aPathname)
  185. {
  186.     return NS_ERROR_NOT_IMPLEMENTED;
  187. }
  188.  
  189. /* attribute DOMString search; */
  190. NS_IMETHODIMP nsDOMNSHTMLAreaElement::GetSearch(nsAString & aSearch)
  191. {
  192.     return NS_ERROR_NOT_IMPLEMENTED;
  193. }
  194. NS_IMETHODIMP nsDOMNSHTMLAreaElement::SetSearch(const nsAString & aSearch)
  195. {
  196.     return NS_ERROR_NOT_IMPLEMENTED;
  197. }
  198.  
  199. /* attribute DOMString port; */
  200. NS_IMETHODIMP nsDOMNSHTMLAreaElement::GetPort(nsAString & aPort)
  201. {
  202.     return NS_ERROR_NOT_IMPLEMENTED;
  203. }
  204. NS_IMETHODIMP nsDOMNSHTMLAreaElement::SetPort(const nsAString & aPort)
  205. {
  206.     return NS_ERROR_NOT_IMPLEMENTED;
  207. }
  208.  
  209. /* attribute DOMString hash; */
  210. NS_IMETHODIMP nsDOMNSHTMLAreaElement::GetHash(nsAString & aHash)
  211. {
  212.     return NS_ERROR_NOT_IMPLEMENTED;
  213. }
  214. NS_IMETHODIMP nsDOMNSHTMLAreaElement::SetHash(const nsAString & aHash)
  215. {
  216.     return NS_ERROR_NOT_IMPLEMENTED;
  217. }
  218.  
  219. /* DOMString toString (); */
  220. NS_IMETHODIMP nsDOMNSHTMLAreaElement::ToString(nsAString & _retval)
  221. {
  222.     return NS_ERROR_NOT_IMPLEMENTED;
  223. }
  224.  
  225. /* End of implementation class template. */
  226. #endif
  227.  
  228.  
  229. #endif /* __gen_nsIDOMNSHTMLAreaElement_h__ */
  230.